// reducer

import { SET_USERIFNO } from '@/store/actionType'
const initState = {
  useInfo: {}
}
function login (state = initState, action) {
  console.log(action)
  if (action.type === SET_USERIFNO) {
    return { ...state, useInfo: action.payload }
  }
  return state
}

export default login
